-
-
Notifications
You must be signed in to change notification settings - Fork 514
cannot install version 2.7.4 on SmartOS #677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Never heard of SmartOS before. The breakage comes from #606. Please provide a patch to fix it without breaking Solaris 10, thank you. |
I think SmartOS already defines the timeradd and timersub (as macros in /usr/include/sys/time.h) - so maybe you can wrap with an !defined check around the #606 code parts: #if defined(__sun) && defined(__SVR4)
#include <sys/time.h>
#if !defined(timeradd)
extern HIDDEN void timeradd(struct timeval *a, struct timeval *b, struct timeval *c);
#endif
... |
A potential fix at mgerdts@eb711c7 |
Please, no maybe. I understand what the fix is, but I cannot test it. Just submit a merge request after you tested it worked. |
@dvarrazzo I understand. Since psycopg2 is now broken on all illumos distributions and probably also on Solaris 11, we should join our forces here and test it properly on all SunOS variants. I've just deployed @mgerdts 's patch on a fairly recent SmartOS system, by running:
and it was installed correctly and the application runs without any problems. @mykarlsson , @justin-wf can you please test this on Solaris 10? |
The patch works for me on Solaris 10. |
Thank you very much for the collaboration. I will merge the patch and create a debug release soon. In the meantime I think you can specify something like @dn0 if you Illumos guys are interested in setting up a CI system to validate future versions let me know. Otherwise bugs will only be founds after the releases (think if in a future release those macros become real functions...) |
@mykarlsson Thanks. |
@dvarrazzo @dn0 |
@gaige That would be awesome. I didn't have time to think about this, but I suppose the API should be similar to Travis CI or at least compatible with GitHub... |
pip install psycopg2==2.7.4 fails (2.7.3 installs fine):
The text was updated successfully, but these errors were encountered: